package org.szx.dao;

import java.util.List;

import org.szx.model.ExamScore;
import org.szx.vo.ExamScoreVO;

public interface ExamscoreDao extends IBaseDAO<ExamScore>{

	public ExamScore getScore(String userId, Integer subId);

	public ExamScoreVO getScoreById(Integer scoreId);

	public void createExamScore(ExamScore score);

	public void editScore(String userId, Integer subId, Integer score);

	public List<ExamScore> findAllScore();

	public List<ExamScore> getScoreBySub(String query);

	public List<ExamScore> getScoreByUserId(String query);

	public List<ExamScore> getScoreByUserName(String query);

	public List<ExamScore> getScoreByDate(String[] date);

}
